package com.ywq.wechatordersys.data;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/***
 * 订单详情
 */
@Entity
@Data
public class OrderDetail {


    /**订单详情id**/
    @Id
private String orderDetailId;
    /**订单主表里面的id**/
private String orderId;
    /**商品id**/
private String productId;
    /**商品名称**/
private String productName;
    /**商品价格**/
private BigDecimal productPrice;
    /**商品购买数量**/
private Integer productQuantity;
    /**商品图标**/
private String productIcon;



}
